<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <link rel="stylesheet" href="./js/jquery-mobile.css">
<script src="./js/jquery.js"></script>
<script src="./js/jquery-mobile.js"></script>
<div data-role="page" id="all">
    <div data-role="header"><h2>header</h2></div>
    <div data-role="content">
        <h1>content</h1>
        <p><a href="#page2">测试超链接 </a></p>
        <button>测试按钮</button>
        <input type="button" value="测试按钮2">
        <a href="" class="ui-btn ui-icon-grid ui-btn-icon-left">测试按钮3</a>
    </div>
    <div data-role="footer" data-position="fixed"><h2>footer</h2></div>
</div>



<div data-role="page" id="page2">
    <div data-role="header">测试页面</div>
    <div data-role="content">
        <a href="#all" data-transition="flip">回到首页</a>

    </div>
    <div data-role="footer" data-position="fixed">测试尾部</div>
</div>
</body>
</html>